package com.smedi.ismedi.authoritymanagement.core.domain.service;

/**
 * @Author: xulinjun
 * @Date: 2021-7-15 16:22
 */
public interface TermDomainService {
    <T> T saveTerm(T data);

    <T> T queryTermByTermIdAndType(Long termId, String termType);

    <T> T getAttribute(String termType, Long termId, String targetField);
}
